#!/usr/bin/env node

const usr = 'wangding',
      pwd = '123456';

const usr_pwd = `${usr}:${pwd}`; 

const buf = Buffer.from(usr_pwd);
console.log(buf.toString('base64'));
